import { request } from '@/utils'

export default {
  getTypeStatistic: () => request.get('/summary/type-statistic'),
  getTrendStatistic: (start, end) =>
    request.get('/summary/trend-statistic', { params: { start, end } }),
  getDailyActiveStatistic: date => request.post('/summary/daily-active-statistic', { date }),
  getTop10: () => request.get('/summary/top10'),
}
